import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';

//引入移动端UI
import 'antd-mobile/dist/antd-mobile.css'; 

// 引入样式和rem
import "./assets/css/reset.css"
import "./assets/js/remScale.js"

// 7.关联仓库
import store from "./store/index"
import { Provider } from "react-redux"

// 配置路由模式
import { HashRouter as Router } from "react-router-dom"

ReactDOM.render(
  <Provider store={store}>
    <Router>
      <App />
    </Router>
  </Provider>,
  document.getElementById('root')
);
